home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / ietf / urn / urn-archives / urn-ietf.archive.9608 / 000025_owner-urn-ietf _Tue Aug 20 17:44:47 1996.msg < prev    next >
Internet Message Format  |  1997-02-19  |  11KB

  1. Received: (from daemon@localhost) by services.bunyip.com (8.6.10/8.6.9) id RAA01443 for urn-ietf-out; Tue, 20 Aug 1996 17:44:47 -0400
  2. Received: from mocha.bunyip.com (mocha.Bunyip.Com [192.197.208.1]) by services.bunyip.com (8.6.10/8.6.9) with SMTP id RAA01438 for <urn-ietf@services.bunyip.com>; Tue, 20 Aug 1996 17:44:35 -0400
  3. Received: from rock.west.ora.com by mocha.bunyip.com with SMTP (5.65a/IDA-1.4.2b/CC-Guru-2b)
  4.         id AA19209  (mail destined for urn-ietf@services.bunyip.com); Tue, 20 Aug 96 17:44:22 -0400
  5. Received: (from terry@localhost) by rock.west.ora.com (8.6.13/8.6.11) id OAA12400; Tue, 20 Aug 1996 14:44:15 -0700
  6. Message-Id: <199608202144.OAA12400@rock.west.ora.com>
  7. From: Terry Allen <terry@ora.com>
  8. Date: Tue, 20 Aug 1996 14:44:14 PDT
  9. In-Reply-To: "Ronald E. Daniel" <rdaniel@acl.lanl.gov>
  10.        "[URN] revision 1 of the NAPTR draft" (Aug 16,  1:49pm)
  11. X-Mailer: Mail User's Shell (7.2.0 10/31/90)
  12. To: "Ronald E. Daniel" <rdaniel@acl.lanl.gov>, urn-ietf@bunyip.com
  13. Subject: Re: [URN] revision 1 of the NAPTR draft
  14. Sender: owner-urn-ietf@services.bunyip.com
  15. Precedence: bulk
  16. Reply-To: Terry Allen <terry@ora.com>
  17. Errors-To: owner-urn-ietf@bunyip.com
  18.  
  19. | From rdaniel@acl.lanl.gov Tue Aug 20 14:27:44 1996
  20. | Received: from ruby.ora.com (ruby.ora.com [198.112.208.25]) by rock.west.ora.com (8.6.13/8.6.11) with ESMTP id OAA11790 for <terry@rock.west.ora.com>; Tue, 20 Aug 1996 14:27:42 -0700
  21. | Received: from acl.lanl.gov (acl.lanl.gov [128.165.147.1]) by ruby.ora.com (8.6.13/8.6.11) with ESMTP id RAA04724 for <terry@ora.com>; Tue, 20 Aug 1996 17:25:52 -0400
  22. | Received: from legiron.acl.lanl.gov (legiron.acl.lanl.gov [128.165.147.188]) by acl.lanl.gov (8.7.3/8.7.3) with SMTP id PAA26186 for <terry@ora.com>; Tue, 20 Aug 1996 15:27:33 -0600 (MDT)
  23. | Message-Id: <2.2.32.19960820213257.006ed93c@acl.lanl.gov>
  24. | X-Sender: rdaniel@acl.lanl.gov
  25. | X-Mailer: Windows Eudora Pro Version 2.2 (32)
  26. | Mime-Version: 1.0
  27. | Content-Type: text/plain; charset="us-ascii"
  28. | Date: Tue, 20 Aug 1996 15:32:57 -0600
  29. | To: Terry Allen <terry@ora.com>
  30. | From: Ron Daniel <rdaniel@acl.lanl.gov>
  31. | Subject: Re: comments on draft
  32. | Status: OS
  33. | Here are you original comments - I've flagged the ones
  34. | I have tried to address.
  35. | At 12:34 PM 8/20/96 PDT, you wrote:
  36. | >This is pretty clean and clear.  A few assorted comments:
  37. | >
  38. | >| "Must" or "Shall" - Software that does not behave in the mannar that this
  39. | >|   namespace to another agency. Evaluating the NAPTR recors in the correct
  40. | >
  41. | >typos
  42. | Got em.
  43. | >
  44. | >All quite clear to here,
  45. | >
  46. | >| * The replacement field is one of two fields used for the rewrite rules.
  47. | >|   If the rewrite is a simple substitution of a domain name, that name is
  48. | >|   given in the replacement field. The replacement field is a domain name
  49. | >|   (subject to compression if a DNS sender knows that a given recipient is
  50. | >|   able to decompress names in this RR type's RDATA field). If the rewrite
  51. | >|   is more complex than a simple substitution of a domain name, the
  52. | >|   replacement field should be set to . and the regexp field used.
  53. | >
  54. | >You might by way of emphasis say "simple substitution of a domain name
  55. | >for the entire domain name submitted".  If that's what you mean.
  56. | I've tried something a little different on that point.
  57. | >
  58. | >| * The regexp field is the other field that may be used for rewrite rules.
  59. | >|   The regexp field is a String containing sed-style substitution expressions.
  60. | >
  61. | >Expressions in the plural suggests a script with multiple regexps.  Not that
  62. | >I'd read this carefully when I wrote you earlier today.
  63. | now is "a sed-style regular expression".
  64. | >|   These are applied to the original URN and yield the next domain name
  65. | >|   to be queried.
  66. | >
  67. | >So that the server could supply (as a terminal NAPTR?) regexps that extracted 
  68. | >info from the opaque part of the URN, if it knows they would work right
  69. | with all 
  70. | >opaque parts of all its URNs.  But this is not what you want for
  71. | size/performance
  72. | >reasons.  
  73. | >
  74. | >Now suppose I can redirect all NAPTR inquiries to my name space with a
  75. | >script of 64 lines (64 regexps).  Will it actually be more efficient
  76. | >to return 64 NAPTR records or one long one?  Or does it come to the
  77. | >same thing?  (I dunno, just a thought; you guys are the architects.)
  78. | >
  79. | >| The first step in the resolution process is to find out about the DUNS
  80. | >| namespace. The namespace identifier, duns, is extracted from the URN,
  81. | >| prepended to urn.net, and the NAPTRs for duns.urn.net looked up. It might
  82. | >
  83. | >For us know-nothings, you might say where this first query goes.  As a child, 
  84. | >I thought that Station Identification was some central studio that individual
  85. | >stations invoked from time to time.  But there isn't any place called urn.net,
  86. | >right?  Where is duns.urn.net?
  87. | >
  88. | No action on any of the preceding points.
  89. | >| Since our example RR specified the "s" flag, it was terminal. Our
  90. | >| next action is to lookup SRV RRs for _rcds._udp.isi.dandb.com, which
  91. | >
  92. | >You need to say "as we can't use dunslink, our next action ..." ?
  93. | Got it.
  94. | >
  95. | >| conjunction with a long TTL for *.urn.net records, the average number
  96. | >| of probes to DNS for resolving DUNS URNs would approach one.
  97. | >
  98. | >| ;;                  order pref flags service replacement       regexp
  99. | >| cid.urn.net IN NAPTR 100  10   ""     ""       .        "/.+@([^@]+)/\1/i"
  100. | >
  101. | >I tried that regexp with sed:
  102. | >
  103. | >% sed 's/.+@([^@]+)/\1/i' < foo
  104. | >sed: ``\digit'' out of range: s/.+@([^@]+)/\1/i
  105. | >
  106. | >but:
  107. | >
  108. | >% sed 's/.*@\([^@]*\)/\1/' < foo
  109. | >mordred.gatech.edu
  110. | >
  111. | >where foo is urn:cid:199606121851.1@mordred.gatech.edu
  112. | >
  113. | >My sed(1), under Sun OS 5.4 and 4.1 (where it's sed (1v))
  114. | >doesn't have an /i anyway, useful though that would be.
  115. | Added additional caveats about '(', '*', etc. But point about
  116. | your sed not having /i is still valid. Please raise it and we
  117. | can see if anyone on the list has the POSIX standard handy.
  118. | >
  119. | >| The flags field tells us that this is the last NAPTR patterns we
  120. | >| should see, and after the rewrite (a simple replacement in this case) we
  121. | >| should look up SRV records to get information on the hosts 
  122. | >| that can provide the necessary service.  
  123. | >
  124. | >If that fails, what do I do, ask for NAPTR records from the same
  125. | >places I asked for SRV records?
  126. | >
  127. | No action.
  128. | >| Flags
  129. | >|        A String giving flags to control aspects of the rewriting. Flags
  130. | >|        are single characters from the alphabet [A-Z0-9]. The case of
  131. | >
  132. | >"are single alphanumeric characters"
  133. | >
  134. | You might suggest "from the set of characters [A-Z0-9]".
  135. | >|        the alphabetic characters is not significant.
  136. | >| 
  137. | >|        At this time only two flags, "S" and "A", are defined. "S" means
  138. | >|        that the next lookup should be for SRV records instead of NAPTR
  139. | >|        records. "A" means that the next lookup should be for A records.
  140. | >|        The S and A flags are mutually exclusive, and resolution libraries
  141. | >|        SHOULD signal and error so that bad NAPTRs can be quickly detected.
  142. | >
  143. | >"signal an error to the server"?  does the client care?  
  144. | >
  145. | >| shells, there is a good chance that when you think you are saying "\\" you
  146. | >| are actually saying "\".
  147. | >
  148. | >And you may need to say \\\ or \\\\ to get things through your shell.
  149. | Here is where the additional caveats on '('et. al went.
  150. | >
  151. | >| The "a" flag allows the next lookup to be for A records rather than
  152. | >| SRV records. Since there is no place for a port specification in the
  153. | >| NAPTR record, when the "A" flag is used the specified protocol must
  154. | >| be running on its default port. 
  155. | >
  156. | >That seems suboptimal.  Why not make a place for it?  (Any good
  157. | >reason will suffice.)
  158. | >
  159. | >|     Once a NAPTR has "matched" a URN, the client MUST NOT consider
  160. | >|      any NAPTRs with a higer value of order than that of the matching NAPTR,
  161. | >
  162. | >typo.  And NAPTRs don't match URNs but rather domain names (right?).
  163. | Got the typo.
  164. | >|      (A match is defined as:
  165. | >|       1) The NAPTR provides a replacement domain name
  166. | >|       2) The regular expression matches the URN
  167. | >|      )
  168. | >
  169. | >"The result of applying the regular expression matches the URN."
  170. | Ugh. And I disagree with you on "match" as I said earlier. I still
  171. | think I am right on this, but we can let the list judge.
  172. | >
  173. | >|   -  If a record at a particular order matches the URI, but the client
  174. | >|      doesn't know the specified protocol and service, the client should
  175. | >|      continue to examine records that have the same order. The client
  176. | >|      MUST NOT consider records with a higher value of order. This is
  177. | >|      necesary to make delegation of portions of the namespace work.
  178. | >
  179. | >typo.
  180. | Got "necessary".
  181. | >  And, this rationale could well be inserted above, at "Once a NAPTR".
  182. | >Client writers will do what they want so long as 
  183. | >they don't feel the need to claim conformance, so supplying the 
  184. | >rationale is a good way to persuade them to do it right.  Hey,
  185. | >it worked with Netscape, right?
  186. | I added a bit to "Once a NAPTR...".
  187. | >
  188. | >|   -  When multiple RRs have the same "order", the client should use
  189. | >|      the value of the preference field to select the next NAPTR to
  190. | >|      consider. However, because of preferred protocols or services,
  191. | >|      estimates of network distance and bandwidth, etc. clients
  192. | >|      may use different criteria to sort the records.
  193. | >
  194. | >That's unclear.  What does "sort" mean here?  It's the first time
  195. | >in the document that the word appears in text, rather than code.
  196. | Changed "sort" to "select the next record to process".
  197. | >|   -  If the lookup after a rewrite fails, clients are strongly encouraged
  198. | >|      to report a failure, rather than backing up to pursue other rewrite
  199. | >|      paths.
  200. | >
  201. | >Answer to my earlier question; might say this earlier.
  202. | Not real clear on this comment.
  203. | >
  204. | >
  205. | >Regards,
  206. | >
  207. | >-- 
  208. | >       Terry Allen      O'Reilly & Associates, Inc.   terry@ora.com
  209. | > "In going on with these experiments, how many pretty systems do we build,
  210. | >  which we soon find ourselves obliged to destroy?"  -  Benjamin Franklin
  211. | >        A Davenport Group sponsor     http://www.ora.com/davenport/
  212. | >
  213. | >
  214. | Ron Daniel Jr.                       email: rdaniel@lanl.gov
  215. | Advanced Computing Lab               voice: +1 505 665 0597
  216. | MS B287                                fax: +1 505 665 4939
  217. | Los Alamos National Laboratory        http://www.acl.lanl.gov/~rdaniel/
  218. | Los Alamos, NM, USA  87545       tautology:"Conformity is very popular"
  219.  
  220.  
  221. Regards,
  222.  
  223. -- 
  224.        Terry Allen      O'Reilly & Associates, Inc.   terry@ora.com
  225.  "In going on with these experiments, how many pretty systems do we build,
  226.   which we soon find ourselves obliged to destroy?"  -  Benjamin Franklin
  227.         A Davenport Group sponsor     http://www.ora.com/davenport/